package com.demo.ex04.many2one.dao;

import java.util.List;

import com.demo.common.dao.IBaseDao;
import com.demo.ex04.many2one.entity.Company;
import com.demo.util.Page;

public interface ICompanyDao extends IBaseDao<Company, Long> 
{
	public Company findByCompanyName(String companyName);
	
	public Object[] findCompanyName();
	public List<Company>findCompanyName2();
	
	
	public Page<Company>  findPage(int pageNumber ,int pageSize);
}
